package introToJava;

import java.util.Scanner;

public class zad3 {

	public static void main(String[] args) {
		Scanner input = new Scanner (System.in);
		   System.out.print("Enter a company name: ");
		String cName = input.nextLine();
		   System.out.print("Enter a Web site: ");
        String web = input.nextLine();   
		   System.out.print("Enter a company phone number: ");
        String cNumber = input.nextLine();
           System.out.print("Enter a fax number: ");
        String fNumber = input.nextLine();
          
        
           System.out.print("Enter a Manager first name: ");
        String mFirst = input.nextLine();
           System.out.print("Enter a Manager family name: ");
        String mFamily = input.nextLine();
		   System.out.print("Enter a Manager phone number");
		int mNumber = input.nextInt();
		
		   System.out.printf("The company \"%s\", %n "
		   		+ "with phone number: %s fax: %s and Web site: %s, %n "
		  , cName, web, cNumber, fNumber);
		   
           System.out.printf("have a manager %s %s with phone number: %s"
          , mFirst, mFamily, mNumber);
	}

}
